package com.example.dy.pay.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_refund_info
 */
@TableName(value ="t_refund_info")
@Data
public class RefundInfo implements Serializable {
    /**
     * 退款单id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商户订单编号
     */
    @TableField(value = "order_no")
    private String order_no;

    /**
     * 商户退款单编号
     */
    @TableField(value = "refund_no")
    private String refund_no;

    /**
     * 支付系统退款单号
     */
    @TableField(value = "refund_id")
    private String refund_id;

    /**
     * 原订单金额(分)
     */
    @TableField(value = "total_fee")
    private Integer total_fee;

    /**
     * 退款金额(分)
     */
    @TableField(value = "refund")
    private Integer refund;

    /**
     * 退款原因
     */
    @TableField(value = "reason")
    private String reason;

    /**
     * 退款状态
     */
    @TableField(value = "refund_status")
    private String refund_status;

    /**
     * 申请退款返回参数
     */
    @TableField(value = "content_return")
    private String content_return;

    /**
     * 退款结果通知参数
     */
    @TableField(value = "content_notify")
    private String content_notify;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date create_time;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date update_time;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}